home *** CD-ROM | disk | FTP | other *** search
- class classes.Debug
- {
- var _stage;
- var removeMovieClip;
- function Debug(stage)
- {
- this._stage = stage;
- }
- function showError(com)
- {
- this._stage.debuger.removeMovieClip();
- var _loc2_ = this._stage.attachMovie("debuger","debuger",this._stage.getNextHighestDepth(),{_x:40,_y:40});
- _loc2_.message.autoSize = true;
- _loc2_.message.htmlText = "<b>" + com + "</b>";
- _loc2_.bg._width = _loc2_.message._width + 30;
- _loc2_.bg._height = _loc2_.message._height + 8;
- _loc2_.onRollOver = function()
- {
- this.removeMovieClip();
- };
- }
- }
-